package com.example.prjbackend.domain;

import lombok.Data;

@Data
public class YuangongQueryParam
{
    Long b_id;
    String yname;
    String ydescp;
    Double age1;
    Double age2;

    public void setYname(String yname) {
        this.yname = yname;
        if("".equals(this.yname)){
            this.yname=null;
        }
    }

    public void setYdescp(String ydescp) {
        this.ydescp = ydescp;
        if("".equals(this.ydescp)){
            this.ydescp=null;
        }
    }
}
